\doxysection{C\+:/\+Users/\+ASUS/\+Desktop/dm-\/ctrl\+H7-\/balance-\/9025test/modules/master\+\_\+machine/seasky\+\_\+protocol.c File Reference}
\hypertarget{seasky__protocol_8c}{}\label{seasky__protocol_8c}\index{C:/Users/ASUS/Desktop/dm-\/ctrlH7-\/balance-\/9025test/modules/master\_machine/seasky\_protocol.c@{C:/Users/ASUS/Desktop/dm-\/ctrlH7-\/balance-\/9025test/modules/master\_machine/seasky\_protocol.c}}


湖南大学\+Ro\+Bo\+Matster串口通信协议  


{\ttfamily \#include "{}seasky\+\_\+protocol.\+h"{}}\newline
{\ttfamily \#include "{}crc8.\+h"{}}\newline
{\ttfamily \#include "{}crc16.\+h"{}}\newline
{\ttfamily \#include "{}memory.\+h"{}}\newline
\doxysubsubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\Hypertarget{seasky__protocol_8c_a40f6d35b81c5ebb38d154ad76dd47719}\label{seasky__protocol_8c_a40f6d35b81c5ebb38d154ad76dd47719} 
uint8\+\_\+t {\bfseries Get\+\_\+\+CRC8\+\_\+\+Check} (uint8\+\_\+t \texorpdfstring{$\ast$}{*}pch\+Message, uint16\+\_\+t dw\+Length)
\item 
\Hypertarget{seasky__protocol_8c_ab3de30cacf8a69baa3920947b69f6c13}\label{seasky__protocol_8c_ab3de30cacf8a69baa3920947b69f6c13} 
uint16\+\_\+t {\bfseries Get\+\_\+\+CRC16\+\_\+\+Check} (uint8\+\_\+t \texorpdfstring{$\ast$}{*}pch\+Message, uint32\+\_\+t dw\+Length)
\item 
\Hypertarget{seasky__protocol_8c_afca8ac1e3bf378562d1d19dc14ddbbdf}\label{seasky__protocol_8c_afca8ac1e3bf378562d1d19dc14ddbbdf} 
void {\bfseries get\+\_\+protocol\+\_\+send\+\_\+data} (uint16\+\_\+t send\+\_\+id, uint16\+\_\+t flags\+\_\+register, float \texorpdfstring{$\ast$}{*}tx\+\_\+data, uint8\+\_\+t float\+\_\+length, uint8\+\_\+t \texorpdfstring{$\ast$}{*}tx\+\_\+buf, uint16\+\_\+t \texorpdfstring{$\ast$}{*}tx\+\_\+buf\+\_\+len)
\item 
\Hypertarget{seasky__protocol_8c_aea1249f22835c42c2e26fb5a6afb20d0}\label{seasky__protocol_8c_aea1249f22835c42c2e26fb5a6afb20d0} 
uint16\+\_\+t {\bfseries get\+\_\+protocol\+\_\+info} (uint8\+\_\+t \texorpdfstring{$\ast$}{*}rx\+\_\+buf, uint16\+\_\+t \texorpdfstring{$\ast$}{*}flags\+\_\+register, uint8\+\_\+t \texorpdfstring{$\ast$}{*}rx\+\_\+data)
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
湖南大学\+Ro\+Bo\+Matster串口通信协议 

\begin{DoxyAuthor}{Author}
Liu Wei 

modified by Neozng 
\end{DoxyAuthor}
\begin{DoxyVersion}{Version}
0.\+1 
\end{DoxyVersion}
\begin{DoxyDate}{Date}
2022-\/11-\/03
\end{DoxyDate}
\begin{DoxyCopyright}{Copyright}
Copyright (c) 2022 
\end{DoxyCopyright}
